package com.xxxx.comment.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.comment.entity.User;
import com.xxxx.comment.entity.dto.UserDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    <T> List<UserDTO> getUserByIds(Collection<T> ids);
}
